package com.kac.controller;

import com.kac.service.KacUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
/**
 * @author  Qilin
 * @date  2019-01-16
 */
@RestController
public class KacPatientController {
    @Autowired
    public KacUserService kacUserService;

    @GetMapping("/user/save")
    public String save(){
        kacUserService.save();
        return "success";
    };
}
